package Command.commons.interfacesImpl;

import Command.commons.interfaces.CommonFunction;

/**
 * @Author: pengzx
 * @Description:
 * @Date: 14:53 2017/9/12
 * @Modified by: 1.0
 */
public class Light {
    private String path = "no path!";
    public void on(){
        System.out.println(path+"开灯!");
    }

    public void off(){
        System.out.println(path+"关灯!");
    }

    public Light(String path)
    {
        this.path = path;
    }
}
